package com.groupbuying.settleproducer.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

import com.groupbuying.settleproducer.dao.SettleUshopSplitStoreDao;
import com.groupbuying.settleproducer.domain.SettleUshopSplitStoreDO;
import com.groupbuying.settleproducer.service.SettleUshopSplitStoreService;



@Service
public class SettleUshopSplitStoreServiceImpl implements SettleUshopSplitStoreService {
	@Autowired
	private SettleUshopSplitStoreDao settleUshopSplitStoreDao;
	
	@Override
	public SettleUshopSplitStoreDO get(String settleId){
		return settleUshopSplitStoreDao.get(settleId);
	}
	
	@Override
	public List<SettleUshopSplitStoreDO> list(Map<String, Object> map){
		return settleUshopSplitStoreDao.list(map);
	}
	
	@Override
	public int count(Map<String, Object> map){
		return settleUshopSplitStoreDao.count(map);
	}
	
	@Override
	public int save(SettleUshopSplitStoreDO settleUshopSplitStore){
		return settleUshopSplitStoreDao.save(settleUshopSplitStore);
	}
	
	@Override
	public int update(SettleUshopSplitStoreDO settleUshopSplitStore){
		return settleUshopSplitStoreDao.update(settleUshopSplitStore);
	}
	
	@Override
	public int remove(String settleId){
		return settleUshopSplitStoreDao.remove(settleId);
	}
	
	@Override
	public int batchRemove(String[] settleIds){
		return settleUshopSplitStoreDao.batchRemove(settleIds);
	}
	
}
